package com.yimi.yinhepda.db.table;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 揽货子单表
 *
 * @author lj
 */
@DatabaseTable(tableName = "LanHuoChildTable")
public class LanHuoChildTable {
    @DatabaseField(generatedId = true)
    private transient Long id;
    /**
     * 订单号
     */
    @DatabaseField(index = true)
    private Long orderNo;
    /**
     * 主运单号
     */
    @DatabaseField(index = true)
    private Long waybillNo;
    /**
     * 揽货扫描时间 格式：yyyyMMddHHmmss
     */
    @DatabaseField()
    private String scanTime;
    /**
     * 子单
     */
    @DatabaseField()
    private String childWaybillNo;
    /**
     * 是否扫描
     */
    @DatabaseField()
    private boolean isScan;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Long orderNo) {
        this.orderNo = orderNo;
    }

    public Long getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(Long waybillNo) {
        this.waybillNo = waybillNo;
    }

    public String getScanTime() {
        return scanTime;
    }

    public void setScanTime(String scanTime) {
        this.scanTime = scanTime;
    }

    public String getChildWaybillNo() {
        return childWaybillNo;
    }

    public void setChildWaybillNo(String childWaybillNo) {
        this.childWaybillNo = childWaybillNo;
    }

    public boolean isScan() {
        return isScan;
    }

    public void setScan(boolean scan) {
        isScan = scan;
    }
}
